﻿
echo reset IIS
echo iisreset

echo beging copy componet dll to portal and appserver

copy .\Entity\bin\Debug\UFIDA.U9.Cust.HWProject.CreateAPBillHead.APBil.Deploy.dll  D:\yonyou\U9CE\Portal\ApplicationLib
copy .\Entity\bin\Debug\UFIDA.U9.Cust.HWProject.CreateAPBillHead.APBil.Deploy.pdb  D:\yonyou\U9CE\Portal\ApplicationLib

copy .\Entity\bin\Debug\UFIDA.U9.Cust.HWProject.CreateAPBillHead.APBil.dll  D:\yonyou\U9CE\Portal\ApplicationServer\Libs

copy .\Entity\bin\Debug\UFIDA.U9.Cust.HWProject.CreateAPBillHead.APBil.pdb  D:\yonyou\U9CE\Portal\ApplicationServer\Libs

copy .\Entity\bin\Debug\UFIDA.U9.Cust.HWProject.CreateAPBillHead.APBil.Deploy.dll  D:\yonyou\U9CE\Portal\ApplicationServer\Libs

copy .\Entity\bin\Debug\UFIDA.U9.Cust.HWProject.CreateAPBillHead.APBil.Deploy.pdb  D:\yonyou\U9CE\Portal\ApplicationServer\Libs



echo begin run build component Script
echo DIR1: .\..\..\bulk\\Unconfiged\MetadataScript\
echo DIR2: .\..\..\bulk\\Unconfiged\DBScript\
echo .\..\..\..\..\yonyou\UBFCE\U9.VOB.Product.UBF\UBFStudio\Runtime\\..\DBScriptExecutor.exe -connStr "User Id=sa;Password=xxx;Data Source=xxx;Initial Catalog=U9CE;packet size=4096;Max Pool size=500;Connection Timeout=5;persist security info=True;MultipleActiveResultSets=true;" -NotDropDB -NotWriteLog -ExecuteDelete .\..\..\..\..\Project\HWProject\bulk\\Unconfiged\MetadataScript\ .\..\..\..\..\Project\HWProject\bulk\\Unconfiged\DBScript\

echo componet  buid end
pause

